package response.group.message;

import entity.GroupMessage;
import enums.ResponseType;
import response.Response;

import java.util.List;

public class GroupMessageListResponse extends Response {
    private List<GroupMessage> groupMessageList;

    public GroupMessageListResponse(List<GroupMessage> groupMessageList) {
        super(ResponseType.GroupMessageList);
        this.groupMessageList = groupMessageList;
    }

    public List<GroupMessage> getGroupMessageList() {
        return groupMessageList;
    }
}
